<%-- 
    Document   : Admin
    Created on : Oct 17, 2011, 11:44:11 PM
    Author     : kijoo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset= UTF-8" />
<title>Untitled Document</title>
<link href="CSS/mystyles.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="body">
    <div id="tieudedangnhap"><div align="center"><span style="color:#FFFFFF; font-size:24px">Đăng nhập quản lý</span></div></div>
  <div>

            
        
<form name="frmDangNhap" action="DangNhapController" method="post">
    <div align="center">
    <table width="633" height="317" border="0" align="center" bordercolor="#0000FF" bgcolor="#99CCCC">
  <tr>
  <td width="119">
Sử dụng tài khoản và mật khẩu để đăng nhập vào hệ thống quản lý</td>
    <td width="504"><table width="81%" height="201" border="0" align="center" bgcolor="#F0F0F0">
        <tr>
            <td colspan="2" align="center">ĐĂNG NHẬP</td>
        </tr>
        <tr>
            <td width="30%"><div align="center">Tên đăng nhập</div></td>
            <td><label for="tenDangNhap"></label>
                <input type="text" name="tenDangNhap" id="tenDangNhap" 
                       <%
                           if (request.getParameter("tenDangNhap") != null) {
                       %>
                       value="<%=request.getParameter("tenDangNhap")%>"
                       <%}%>                       />            </td>
        </tr>
        <tr>
            <td><div align="center">Mật khẩu</div></td>
            <td><label for="matKhau"></label>
                <input type="password" name="matKhau" id="matKhau"                  />            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>
                <input type="submit" name="dangNhap" id="dangNhap" value="Đăng nhập" />
                <input type="hidden" name="Action" value="DangNhap"/>            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>
                <%
                    if (request.getAttribute("Error") != null) {
                        out.println(request.getAttribute("Error"));
                    }
                %>            </td>
        </tr>
  </table></td>
  </tr>
</table>
</div>

</form>

  </div>
</div>
</body>
</html>

